<div class="notifications">
    <p class="notifycount"><a href="" title="" class="notifypop"><?php
echo $this->messagesCount;
?></a></p>
    <p><a href="" title="" class="notifypop">New Messages</a></p>
    <p class="smltxt">(Click to open)</p>
</div>